Thanks to Bill Huber for replying to my question. Here is the original question: How can I replicate the Map Query in Avenue. That is I want to be able to query multiple grids at the same time. Basically, there are two answers 1) Do it in the Map Calculator. 2) Use the 'con' command. I don't want to have to use the Map Calculator so I was hoping for a more elegant solution than a complex 'con' statement. I never found one and Bill Huber indicated that 'con' was the only way. Here is an example of the 'con' statement that I used. It searches two grids, each grid is searched for a specific range. I eventually needed to be able to search up to five grids - I did it with a con but it is a nasty statement!! I may have too many parenthesis but as least I was able to understand the statement then. If you have questions or suggestions to make it better please let me know. Thanks again Bill, pat testgrid = ((thegrid > 0.AsGrid).Con(((thegrid < 20.AsGrid).Con(((covgrid > 0.AsGrid).Con(((covgrid < 40.AsGrid).Con(1.AsGrid,0.AsGrid)),0.AsGrid)),0.AsGrid)), 0.AsGrid))